<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      data-layout-decorate="~{/layout/_layout}">
<head>
    <title>超市订单管理系统</title>
</head>
<body>
<div class="right" layout:fragment="right">
    <!--使用thymeleaf模板继承，以下内容将嵌入到模板_layout.html中-->
    <div class="location">
        <strong>你现在所在的位置是:</strong>
        <span>密码修改页面</span>
    </div>
    <div class="providerAdd">
        <form id="userForm" name="userForm" method="post" data-th-action="@{/user/modifypwd}">
            <!--div的class 为error是验证错误，ok是验证成功-->
            <div class="info" data-th-text="${message}"></div>
            <div>
                <label for="oldPassword">旧密码：</label>
                <input type="password" name="oldpassword" id="oldpassword" value="">
                <font color="red"></font>
            </div>
            <div>
                <label for="newPassword">新密码：</label>
                <input type="password" name="newpassword" id="newpassword" value="">
                <font color="red"></font>
            </div>
            <div>
                <label for="rnewpassword">确认新密码：</label>
                <input type="password" name="rnewpassword" id="rnewpassword" value="">
                <font color="red"></font>
            </div>
            <div class="providerAddBtn">
                <!--<a href="#">保存</a>-->
                <input type="button" name="save" id="save" value="保存" class="input-button">
            </div>
        </form>
    </div>
    <script type="text/javascript" data-th-src="@{/static/js/pwdmodify.js}"></script>
</div>
</body>
</html>
